using AutoMapper;
using B.S.Medical.Api.Read.DTOS;
using B.S.Medical.Domain.Department;
using B.S.Medical.Domain.Doctor;
using B.S.Medical.Domain.Medical;

namespace B.S.Medical.Api.Read.Files
{
    public class MapperProfiles : Profile
    {
        public MapperProfiles()
        {
            //挂号
            CreateMap<RegisterDto, RegisterModel>().ReverseMap();

            //标签
            CreateMap<LabelModel, LabelDTO>().ReverseMap();

            //职称
            CreateMap<JobTitleDTO, JobTitleModel>().ReverseMap();

            // 院区
            CreateMap<CampusModel, CampusDTO>().ReverseMap();
            //导出
            CreateMap<ManageModel,DepartmentDaoChuDto>().ReverseMap();
        }
    }
}
